package day1026.LaoShi;

public class JavaTeacher extends Teacher {
    public JavaTeacher(String name, int age, int teachingage, String sex) {
        super(name,age,teachingage,sex);
    }

    public void java(){
        System.out.println(super.name+"老师熟悉java");
    }
}
